<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>医疗预约系统</title>
</head>
<body>
<h3 align="center" >医疗预约系统</h3><br>
<form  action="reg" method="post">
    <table align="center">
        <tr>
            <th colspan="2">用户注册</th>
        </tr><br>
        <tr>
            <td>用户名：</td>
            <td><input type="text" id="userName" name="userName" value="${userName }"/></td>
        </tr>
        <tr>
            <td>密&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
            <td><input type="password" id="password" name="password" value="${password }"/></td>
        </tr>
        <tr>
            <td>姓&nbsp;&nbsp;&nbsp;&nbsp;名：</td>
            <td><input type="text" id="name" name="name" value="${name }"/></td>
        </tr>
        <tr>
            <td>性&nbsp;&nbsp;&nbsp;&nbsp;别：</td>
            <td><input type="text" id="sex" name="sex" value="${sex }"/></td>
        </tr>
        <tr>
            <td>生&nbsp;&nbsp;&nbsp;&nbsp;日：</td>
            <td><input type="date" id="birth" name="birth" value="${birth }"/></td>
        </tr>
        <tr>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <td><input type="submit" value="注册" /></td>
            <td><font color="red">${error }</font></td>
        </tr>

    </table>
</form>
</body>
</html>